html {
    width: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html * {
    outline: 0;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: #333333;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0
}

input,
select,
textarea {
    font-size: 100%;
    -webkit-appearance: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

fieldset,
img {
    border: 0
}

abbr,
acronym {
    border: 0;
    font-variant: normal
}

del {
    text-decoration: line-through
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: 500
}

ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 500
}

q:before,
q:after {
    content: ''
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

ins,
a {
    text-decoration: none
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

a {
    color: inherit;
}

input,
button {
    border: 0;
    outline: 0;
    background: transparent;
}

img {
    display: block;
}

input::-webkit-input-placeholder {
    color: #B2B5B1;
}

.w1200 {
    width: 1200px;
    margin: 0 auto;
}

.w1000 {
    width: 1000px;
    margin: 0 auto;
}

.max1200 {
    max-width: 1200px;
    margin: 0 auto;
}

.mauto {
    margin-left: auto;
    margin-right: auto;
}

/* 清浮动 */
.overhide {
    overflow: hidden;
}

.clearfix:after {
    content: '';
    display: block;
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* 定位 */
.posRel {
    position: relative
}

.posAbs {
    position: absolute
}

.fixed {
    position: fixed
}

/* 弹性盒子 */
.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.flex1 {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1
}

.flex2 {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2
}

.justify-between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: flex
}

.justify-around {
    -ms-flex-pack: distribute;
    justify-content: space-around
}

.justify-center {
    justify-content: center;
    display: flex
}

.align-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex
}

.align-end {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end
}

.flex-col {
    flex-direction: column;
    display: flex
}

.justify-end {
    justify-content: flex-end;
    display: flex
}

.flex-wrap {
    flex-wrap: wrap;
    display: flex
}

.block {
    display: block;
}

/* 字体 */
body {
    font-size: 14px;
    font: 14px/18px Arial, Microsoft YaHei, Tahoma, sans-serif;
    background: #F8F8F8;
    line-height: 1.5;
    color: #333333;
}

.tl {
    text-align: left
}

.tc {
    text-align: center
}

.tr {
    text-align: right
}

/* 颜色 */
.light {
    color: #3583FA;
}

.baselight {
    color: #2D326F;
}

.gray3 {
    color: #333333;
}

.gray9 {
    color: #999
}

.gray9d {
    color: #9d9d9d;
}

.gray6 {
    color: #666666
}

.white {
    color: #fff;
}

.red {
    color: #CA0005 !important
}

.green {
    color: #1AD286;
}

.yellow {
    color: #EF7634;
}

.active {
    color: #357ce1;
    border-bottom: 1px solid #357ce1
}

.actives {
    color: #fff;
    border-bottom: 2px solid #357ce1;
}

.black {
    color: #000000;
}

// 背景色
.bgWhite {
    background: #ffffff;
}

.baseBg {
    background: #2D326F
}

.partBg {
    background-color: #1a243b
}

.btnBg {
    background: #7a98f7
}

.grayBg {
    background: #879BAA
}

.bggreen {
    background: #12b886
}

.bgred {
    background: #AB091E
}

.bglight {
    background: #2D326F;
}

.bgyellow {
    background: #FFE701;
}

.bgF6 {
    background: #f6f6f6;
}

.bgF8 {
    background: #f8f8f8;
}

.bgF5 {
    background: #f5f5f5;
}


/* 边框 */
.bd {
    border: 1px solid #2e3753;
}

.bdbe {
    border-bottom: 1px solid #eeeeee;
}

.bdt {
    border-top: 1px solid #B2B5B1;
}

.bdr {
    border-right: 1px solid #2e3753;
}

.bcolor {
    border-color: #2e3753;
}

.bdactive {
    border-color: #357ce1;
}

.bdlight {
    border: 1px solid #2D326F;
}

// 缩进
.in20 {
    text-indent: 20px;
}

// 底部阴影
.bshadow {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .1);
}

// 圆角

// hover
.pointer {
    cursor: pointer;
}

.curPer {
    cursor: pointer;
}

// 文本不换行溢出...
.overtext {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clamp {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文本两行溢出... */
.textover {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

// 滚动条
.overauto {
    overflow-y: auto
}

.scroll::-webkit-scrollbar {
    width: 4px;
    background-color: #eeeeee;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #dddddd;
}

.scrollnone::-webkit-scrollbar {
    width: 0px;
}

.scrollnone {
    padding-right: 0 !important;
}

// 其它
.disnone {
    display: none
}


.opt5 {
    opacity: 0.5;
}

.opt1 {
    opacity: 1;
}

.el-dialog {
    border-radius: 10px !important;
}

.radius50b {
    border-radius: 50%;
}

/** 基础通用 
margin 
paddign 
font-size 
border-radius 
z-index left 
right top bottom 
width height lineheight  
根据自己的范围定义**/
@for $i from 0 through 500 {

    //margin
    .m#{$i} {
        margin: #{$i}px !important;
    }

    .mx#{$i} {
        margin-left: #{$i}px !important;
        margin-right: #{$i}px !important;
    }

    .my#{$i} {
        margin-top: #{$i}px !important;
        margin-bottom: #{$i}px !important;
    }

    .mt#{$i} {
        margin-top: #{$i}px !important;
    }

    .mb#{$i} {
        margin-bottom: #{$i}px !important;
    }

    .mr#{$i} {
        margin-right: #{$i}px !important;
    }

    .ml#{$i} {
        margin-left: #{$i}px !important;
    }

    //padding
    .p#{$i} {
        padding: #{$i}px !important;
    }

    .px#{$i} {
        padding-left: #{$i}px !important;
        padding-right: #{$i}px !important;
    }

    .py#{$i} {
        padding-top: #{$i}px !important;
        padding-bottom: #{$i}px !important;
    }

    .pt#{$i} {
        padding-top: #{$i}px !important;
    }

    .pb#{$i} {
        padding-bottom: #{$i}px !important;
    }

    .pr#{$i} {
        padding-right: #{$i}px !important;
    }

    .pl#{$i} {
        padding-left: #{$i}px !important;
    }

    //font-size
    .ft#{$i} {
        font-size: #{$i}px !important;
    }

    //border-radius
    .radius#{$i} {
        border-radius: #{$i}px !important;
    }

    .radiustr#{$i} {
        border-radius: #{$i}px #{$i}px 0 0 !important;
    }

    .radiusbr#{$i} {
        border-radius: 0 0 #{$i}px #{$i}px !important;
    }

    // z-index
    .z-index-#{$i} {
        z-index: #{$i};
    }

    //位置数值
    .left-#{$i} {
        left: #{$i}px;
    }

    .right-#{$i} {
        right: #{$i}px;
    }

    .top-#{$i} {
        top: #{$i}px;
    }

    .bottom-#{$i} {
        bottom: #{$i}px;
    }

    // 宽度数值
    .w-#{$i} {
        width: #{$i}px;
    }

    .wb-#{$i} {
        width: #{$i + '%'};
    }

    .h-#{$i} {
        height: #{$i}px;
    }

    .lineheight-#{$i} {
        line-height: #{$i}px;
    }
}